package edu.kjxy.worker0308;

import java.util.Scanner;

public class worker04 {

	public static void main(String[] args) {
		System.out.println("请输入是否晴天(Y/N)和奖金数:");
		
		Scanner in = new Scanner(System.in);
		String issunny = in.next();
		int bonus = in.nextInt();
		in.close();
		
		switch(issunny)
		{
			case "Y":
				if(bonus >= 500)
				{
					System.out.println("去动物园");
				}
				else
				{
					System.out.println("去爬山");
				}
				break;
			case "N": System.out.println("在家看书学习"); 
				break;
		}

	}

}
